<?php
/**
 * @page installation Installation
 * 
 * Installation is pretty straight forward. Here are the steps you need to follow:
 * 
 * @attention If you are installing this script on a sub-directory like:
 * www.yoursite.com/##projectName## Please follow this section, @ref Installing-under-sub-directory,
 * before continuing with these steps. 
 * 
 * @section server_requirements Server Requirements
 * 
 * Before proceeding make sure your server supports following configuration:
 * 
 * @li MySQL (version 4 or above)
 * @li PHP (version 5 or above)
 * @li Ioncube Loaders
 * @li Apache Mod_Rewrite Enabled
 * @li Support for cron jobs
 * @li PHP GD Library enabled
 * 
 * @section obtaining_license Obtaining License
 * 
 * You will receive license automatically via email right after the purchase. In case you have 
 * not, goto <a href="##customersPortal##">our customer portal</a>, login to your account 
 * and you will see the licenses link. 
 * 
 * In case you're unable to access the URL, please contact our support department.
 * 
 * @section installation_process Installation Process
 * 
 * <ol>
 * <li>Upload the script to your web host inside your 'public_html' or 'www' folder.</li>
 * <li>CHMOD 777 to following directories:
 * 
 * /app/tmp and all directories present inside it.
 * /app/config
 * /app/webroot/uploads
 * /app/views/pages
 * app/locale</li>
 * 
 * <li>
 * Create a MySQL database from your website control panel.
 * </li>
 * 
 * <li>
 * Try accessing your domain from browser, and you will be redirected to installation 
 * process which will ask you to provide database details, license key and other configurations.
 * @image html installer.jpg
 * </li>
 * 
 * <li>
 * Once settings are submitted, installer will import necessary data in your database and 
 * create some configuration files. 
 * </li>
 * 
 * <li>
 * You can open your domain in browser and you should see the website running now.
 * Homepage: www.yoursite.com
 * Admin Panel: www.yoursite.com/admin
 * </li>
 * 
 * <li>
 * Its also required that you setup cronjob for the scheduled tasks and maintenance:
 * 
 * <ol>
 * <li>Create cronjob and set it up to run every ##cronjobFrequency##:
 * <your_file_path>/cake/console/cake -app <your_file_path>/app master</li>
 * <li>CHMOD 755 cake/console/cake file (please note, change permission of cake file, 
 * not cake.bat or cake.php)</li>
 * </ol> 
 *
 * </ol>
 *
 * @section post_installation Post-Installation
 * 
 * Go to app/config/ folder, and rename core.php to anything and after 
 * that rename core.production.php file to core.php
 * 
 * @section Installing-under-sub-directory Installing under sub-directory
 * 
 * You need to follow this section only if you are installing this script under any 
 * sub-directory. For eg: www.yoursite.com/##projectName##
 * 
 * Here are some changes you need to do:
 * 
 * 1. Edit .htaccess of main folder, and locate following line:
 * 
 * @code
 * RewriteBase /
 * @endcode
 * 
 * %Comment this line, by adding # character in front of it, so changed line will look like:
 * 
 * @code
 * #RewriteBase /
 * @endcode
 * 
 * 2. Similarly edit .htaccess of /app/webroot folder, and locate:
 * 
 * @code
 * RewriteBase /app/webroot
 * @endcode
 * 
 * Then change it to:
 * 
 * @code
 * #RewriteBase /app/webroot
 * @endcode
 *
 */

// blank
Configure::write("Installer.requiredExtension",array('mysql','ionCube Loader'));
Configure::write("Installer.checkModRewrite",true);
?>